<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<img src="01/image/0.gif" id="img01" name="imga" />
		
		<script type="text/javascript">
			
			// 
			// alert(document.images[0].src);
			// alert(document.images["imga"].src);
			
			// var img = document.getElementById("img01");
			window.onload = function()
			{
				alert(img01.width)
			}
		</script>
	</body>
</html>
